package com.kuang.constants;

import cn.hutool.setting.dialect.Props;

/**
 * @ClassName SQLTableConstants
 * @Description 数据库表的常量封装
 * @Author Augenestern_QXL
 * @Version 1.0
 */
public class SqlTableConstants {

    /**
     * 构造器私有,禁止实例化
     */
    private SqlTableConstants() {}

    /**
     * 是否忽略数据库表的前缀
     */
    public static  Boolean IGNORE_TABLE_PREFIX;

    public static String SUFFIX_BEAN_PARAM;

    static {
        Props props = new Props("application.properties");
        IGNORE_TABLE_PREFIX = props.getBool("ignore.table.prefix");
        SUFFIX_BEAN_PARAM = props.getStr("suffix.bean.param");
    }

    /**
     * 数据库表名
     */
    public static final String TABLE_NAME = "name";

    /**
     * 数据库表注释
     */
    public static final String TABLE_COMMENT = "comment";




}
























